package com.ruoyi.cat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ip地址记录对象 ad_gifi_iprecord
 * 
 * @author ruoyi
 * @date 2025-07-05
 */
public class AdGifiIprecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ipAddress;

    /** 配置id */
    @Excel(name = "配置id")
    private Long ipConfig;

    /** 访问量 */
    @Excel(name = "访问量")
    private Long pv;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date dayTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setIpConfig(Long ipConfig) 
    {
        this.ipConfig = ipConfig;
    }

    public Long getIpConfig() 
    {
        return ipConfig;
    }
    public void setPv(Long pv) 
    {
        this.pv = pv;
    }

    public Long getPv() 
    {
        return pv;
    }
    public void setDayTime(Date dayTime) 
    {
        this.dayTime = dayTime;
    }

    public Date getDayTime() 
    {
        return dayTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipAddress", getIpAddress())
            .append("ipConfig", getIpConfig())
            .append("createTime", getCreateTime())
            .append("pv", getPv())
            .append("dayTime", getDayTime())
            .toString();
    }
}
